<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
        + request.getServerName() + ":" + request.getServerPort()
        + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
  <head>  
    <title>首页</title> 
    <%@ include file="head.jsp"%> 
	<link rel="stylesheet" type="text/css" href="../resource/css/admin/index.css?v=1"/>
	<script type="text/javascript" src="../resource/js/admin/index.js?v=5"></script>
  </head>  
    
  <body class="easyui-layout">
    <div data-options="region:'north',split:true" class="head" style="height:100px;">
    	<a href="<%=basePath%>/login/logout" class="easyui-linkbutton c6" iconCls="icon-remove">退出登录</a>
    	<a href="#" id="reset_passWord" class="easyui-linkbutton c6" iconCls="icon-reload">重设密码</a>
    	<h3>你好，${user.userName}</h3>
    </div> 
    <div data-options="region:'west',title:'菜单列表',split:true" style="width:200px;">
    	<!-- 左边树形菜单 -->
    	<ul id="menu"></ul>
    </div>
    <div data-options="region:'center'" style="padding:5px;background:#eee;">
    	<!-- Easyui addTabs 插件 -->
    	<div id="index_tabs" class="easyui-tabs" data-options="fit:true"></div>
    </div>
    
    <!-- 重设密码表单窗口 -->
  	<div id="reset_passWord_win" class="easyui-window" style="width:300px;height:250px"
    	data-options="modal:true,closed:true,collapsible:false,minimizable:false,maximizable:false">
    	<form id="fm">
    		<table style="margin:15px auto;" cellspacing="5">
    			<tr>
    				<td>旧密码：</td>
    				<td><input type="password" id="oldPassWord" name="oldPassWord" class="easyui-validatebox tb" data-options="required:true,validType:'length[1,20]'"/></td>
    			</tr>
    			<tr>
    				<td>新密码：</td>
    				<td><input type="password" id="newPassWord" name="newPassWord" class="easyui-validatebox tb" data-options="required:true,validType:'length[1,20]'"/></td>
    			</tr>
    			<tr id="tr_password">
    				<td>重复密码：</td>
    				<td><input type="password" id="repeatPassWord" name="repeatPassWord" class="easyui-validatebox tb" data-options="required:true,validType:'length[1,20]'"/></td>
    			</tr>
    		</table>
    		<div style="text-align:center;">
		        <a id="save_btn" class="easyui-linkbutton c6" iconCls="icon-ok" style="width:90px">保存</a>
		        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#reset_passWord_win').window('close')" style="width:90px">取消</a>
		    </div>	
    	</form>
	</div>
    
</body>
</html>  